$(function(){
    $(window).on("resize",function(){
        var wid=$(window).width();
        console.log(wid)
        var fontSize=wid/640*100;
        $("html").css("font-size",fontSize)
    }).trigger("resize")
})